#include "copyAssignment.h"

void test()
{
	string s("Hello world!");
	string s1(s);
	string s2;
	cout << s.c_str() << endl;
	cout << s1.c_str() << endl;
	s2 = s1;
	cout << s2.c_str() << endl;

}

int main()
{
	test();
	return 0;
}